import java.util.ArrayList;


public class db_parse_result_insert_into implements db_interface_parse_result{
	public String sTable = "";
	public ArrayList<String> oCols = new ArrayList<String>();
	public ArrayList<Integer> oDataTypes = new ArrayList<Integer>();
	public ArrayList<String> oVals = new ArrayList<String>();
	private int iRes = 0;
	
	public int get_result() {
		return iRes;
	}
	
	public void set_result(int iResult) {
		iRes = iResult;
	}
	
	public db_interface_result run_query(db_server oServer, db_session oSession) {
		return  new db_engine().insert_into_table(sTable, oCols, oDataTypes, oVals, oServer.oDatabases.get(oSession.iCurrentDatabase));
	}
}
